const Login = r => require.ensure([],() => r(require('../views/Login.vue')), 'Login');  
const NotFound = r => require.ensure([],() => r(require('../views/404.vue')), 'NotFound'); //404

let routes = [
	{
		path: '/',          //浏览器输的路劲
		component: Login,  //只在路由里面用一定要与前面声明的变量保持一致
		name: '',          //pathd的别名
		// hidden: true
	},
		{
		path: '/404',          
		component: NotFound,  
		name: '',          
		// hidden: true
	},
]

export default routes;